﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Openapi.Weibo.Model
{
    public class Statuses
    {
        public Statuses() { }
        public List<Status> statuses { get; set; }
        public long previous_cursor { get; set; }
        public long next_cursor { get; set; }
        public long total_number { get; set; }
        public bool hasvisible { get; set; }
    }

    public class Status
    {
        public Status() { }
        public string created_at { get; set; }
        public long id { get; set; }
        public string mid { get; set; }
        public string idstr { get; set; }
        public string text { get; set; }
        public string source { get; set; }
        public bool favorited { get; set; }
        public bool truncated { get; set; }
        public string in_reply_to_status_id { get; set; }
        public string in_reply_to_user_id { get; set; }
        public string in_reply_to_screen_name { get; set; }
        public string bmiddle_pic { get; set; }
        public string original_pic { get; set; }
        public string thumbnail_pic { get; set; }
        public Geo geo { get; set; }
        public UserInfo user { get; set; }
        public int reposts_count { get; set; }
        public int comments_count { get; set; }
        public int attitudes_count { get; set; }
        public int mlevel { get; set; }
        public Visible visible { get; set; }
    }

    public class StatusIDs
    {
        public string[] statuses { get; set; }
        public long previous_cursor { get; set; }
        public long next_cursor { get; set; }
        public long total_number { get; set; }
    }

    /// <summary>
    /// 指定微博的转发微博列表
    /// </summary>
    public class Repostses
    {
        public Reposts[] reposts { get; set; }
        public long previous_cursor { get; set; }
        public long next_cursor { get; set; }
        public long total_number { get; set; }
    }

    public class Reposts : Status
    {
        public Status retweeted_status { get; set; }
    }

    /// <summary>
    /// 单条微博内容
    /// </summary>
    public class SingleStatus : Status
    {
 
    }

    /// <summary>
    /// 微博评论与转发数
    /// </summary>
    public class StatusCount
    {
        public long id { get; set; }
        public long comments { get; set; }
        public long reposts { get; set; }
    }

    public class Visible
    {
        public Visible() { }
        public int type { get; set; }
        public int list_id { get; set; } 
    }
}
